package com.java.side.fegin.server;


import com.java.side.fegin.config.FeignGlobleConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(url = "localhost:10101",name = "userServer",configuration = FeignGlobleConfig.class)
public interface UserClient {

    @GetMapping("/test/user")
    String getUserName();
}
